<script setup lang="ts">
window._AMapSecurityConfig = {
  serviceHost: 'http://192.168.1.8:6776//_AMapService',
}
</script>

<template>
  <RouterView v-slot="{ Component, route }">
    <keep-alive>
      <component :is="Component" :key="route.path" />
    </keep-alive>
  </RouterView>
</template>

<style>
::-webkit-scrollbar {
  width: 0px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #0003;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
}
</style>
